<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>登录-爆爆社区</title>
    <link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.min.css}">
    <link rel="stylesheet" th:href="@{/css/login.css}">
</head>
<body class="text-center">
<form class="form-signin" th:action="@{/login}" method="post">
    <img class="mb-4" th:src="@{/images/logo/logo.jpg}" style="border-radius: 50%" alt="" width="72" height="72">
    <h1 class="h3 mb-3 font-weight-normal">登录</h1>
    <input name="username" class="form-control" placeholder="用户名" required="">
    <input type="password" name="password" class="form-control" placeholder="密码" required="">

    <div class="checkbox mb-3">
        <label>
            <input type="checkbox" name="remember-me" value="true"> 七天免登陆
        </label>
    </div>
    <button class="btn btn-lg btn-primary btn-block mt-3" type="submit">登 录</button>
    <p style="text-align: right"><a th:href="@{/register}" >没有账号?去注册</a></p>
    <p class="mt-5 mb-3 text-muted">©爱生活 爱爆爆</p>
</form>


</body>
</html>